//worked on by Ray Zeller
#ifndef DAYPARSER_H_
#define DAYPARSER_H_
#include <string>
#include <stdlib.h>
#include <assert.h>
#include <sstream>
using namespace std;

class DayParser
{
public:
	DayParser();
	DayParser(int n);
	string getDayOfWeek();
	int countOfFeb29( int nYear );
	bool isLeapYear( int nYear );
	int getYear(){return myYear;}
	int getMonth(){return myMonth;}
	int getDay(){return myDay;}
	void setYear(int year){myYear=year;}
	void setMonth(int month){myMonth=month;}
	void setDay(int day){myDay=day;}
	virtual ~DayParser();
private:
	void parse();
	int myYear;
	int myMonth;
	int myDay;
	int myNumber;
};

#endif /*DAYPARSER_H_*/
